package param.syn;

import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementWrapper;
import javax.xml.bind.annotation.XmlRootElement;

import param.pub.Publicrequest;
import param.pub.ShareResponse;

@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "stationsynrequest")
public class StationSyncRequest extends ShareResponse {

	/**
	 * serialVersionUID:
	 */
	private static final long serialVersionUID = -4092027997659197341L;

	private Publicrequest publicrequest;

	private List<Station> stations;

	@XmlElementWrapper(name = "stations")
	@XmlElement(name = "station")
	public List<Station> getStations() {
		return stations;
	}

	public void setStations(List<Station> stations) {
		this.stations = stations;
	}

	@XmlElement(name = "publicrequest")
	public Publicrequest getPublicrequest() {
		return publicrequest;
	}

	public void setPublicrequest(Publicrequest publicrequest) {
		this.publicrequest = publicrequest;
	}

}
